package com.placement.refresh.model;

import java.io.Serializable;

import org.rssowl.core.internal.persist.Description;
import org.rssowl.core.internal.persist.News;

public abstract class AbstractJob implements Job, Serializable {
	
	private long id;
	private String description;
	private String link;
	private String state;
	private String city;
	private String title;
	private long jobSource;
	private String companyName;
	private Long zipcode;
	
	
	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getDescription() {
		// TODO Auto-generated method stub
		return description;
	}

	public String getLink() {
		// TODO Auto-generated method stub
		return link;
	}

	public String getState() {
		// TODO Auto-generated method stub
		return state;
	}

	public String getTitle() {
		// TODO Auto-generated method stub
		return title;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param link the link to set
	 */
	public void setLink(String link) {
		this.link = link;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the jobSource
	 */
	public long getJobSource() {
		return jobSource;
	}

	/**
	 * @param jobSource the jobSource to set
	 */
	public void setJobSource(long jobSource) {
		this.jobSource = jobSource;
	}

	
	public abstract void parseJobData(News news, Description desc) ;
	
	/**
	 * @return the companyName
	 */
	public abstract String getCompanyName() ;

	/**
	 * @return the zipcode
	 */
	public Long getZipcode() {
		return zipcode;
	}

	/**
	 * @param zipcode the zipcode to set
	 */
	public void setZipcode(Long zipcode) {
		this.zipcode = zipcode;
	}
	

}
